import Vue from 'vue'
import App from './App'
import router from './router'

import Vant from "vant"
import "vant/lib/index.css"

import "./assets/resource/css/common.css"

import Vuex from 'vuex'
import axios from "axios"
import VueAxios from "vue-axios"

Vue.use(Vant, Vuex, axios, VueAxios);

new Vue({
  el: '#app',
  router,
  components: {App},
  template: '<App/>',
});

import appFunc from "./assets/app/func"

// appFunc.clearUserInfoCache();
appFunc.setActiveNav(0);
appFunc.setPlatform();
appFunc.isLogin();
